SOS_IMPORTS

Section: SOS META CLASSES (3S)
Updated: 28/10/91
Index Return to Main Contents
man2html: unable to open or read file /usr/lib/ms/ms.acc
 

NAME

sos_Imports - modules imported by an SOS schema module  

SYNOPSIS

#include "<SOS>/include/mta_sos.h"
class sos_Imports: List <sos_Schema_module> (FALSE)
{
public:
   sos_Schema_type lookup_type (sos_String, sos_Bool = FALSE);
};
 

DESCRIPTION

sos_Imports implements a list of SOS schema modules together with a type identification method.

lookup_type (name, look_for_alias)
yields an sos_Schema_type with the given name which is declared in one of the imported modules; if no such type exists, the result is NO_OBJECT. If look_for_alias is TRUE, the given name may be an alias for the looked-up type; otherwise it must be the (exact) name of the type.
 

FILES

<SOS>/src/mta/mta.sos
SOS schema file

<SOS>/src/mta/mta_sos.h
complete schema interface

<SOS>/src/mta/mta_use.h
restricted schema interface

<SOS>/src/mta/mta.c
method implementation

<SOS>/lib/sos.a
SOS library
 

WARNINGS

Name clashes for types in different imported modules are not detected. In case of a name clash the result of lookup_type is an arbitrary type with the given name.  

SEE_ALSO

sos_Schema_module(3)  

AUTHOR

Jurgen Uhl


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
WARNINGS
SEE_ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 00:37:57 GMT, March 30, 2022